


class Animal {
    public void eat() throws NullPointerException{

    }
}


class Cat extends Animal {
   // public void eat() throws Exception {}

}

public class Test2 {
}
